#include "Stdafx.h"
#include "Logger.h"

namespace Pulpy
{
	std::string Logger::_Target = "";

	void Logger::setOutputFile(std::string filename) { _Target = filename; }
	Logger Logger::getInstance()
	{
		static Logger s_instance;
		return s_instance;
	}
	void Logger::addLog(char * error, bool nextLine) { m_log << error; if(nextLine) m_log << std::endl; }
}